﻿using Aurora.AI.Abstractions.Dtos;
using Aurora.AI.Abstractions.ObjectModels.SharedModels;
using System.Text.Json.Serialization;

namespace Aurora.AI.Abstractions.ObjectModels.ResponseModels;

public record CompletionCreateResponse : AuroraAIBaseResponse, IOpenAiModels.IId, IOpenAiModels.ICreatedAt
{
    [JsonPropertyName("model")] public string Model { get; set; }

    [JsonPropertyName("choices")] public List<ChoiceResponse> Choices { get; set; }

    [JsonPropertyName("usage")] public AuroraAIUsageResponse Usage { get; set; }

    [JsonPropertyName("created")] public int CreatedAt { get; set; }

    [JsonPropertyName("id")] public string Id { get; set; }
}